#ifndef WS2812_H
#define WS2812_H
/** HAL HEADER INCLUDE*/
#include "stm32h7xx_hal_gpio.h"
/** HAL HEADER INCLUDE*/

void WS2812_Init(GPIO_TypeDef *gpioTypeDef, uint16_t gpioPin, void(*Delay300ns)(), void(*Delay600ns)());
void WS2812_Reset();
void WS2812_SendRGB(uint8_t r, uint8_t g, uint8_t b);
void WS2812_CloseAll(uint16_t light_num);
void WS2812_SendMultiRGB(uint32_t* rgbColor, uint16_t count);
void WS2812_SendOneColor(uint8_t r, uint8_t g, uint8_t b, uint16_t count);

#endif
